import http from './config'
// 新增功能接口地址

// 获取操作日志
export function getoperation(data) {
  return http.post('/operationRecord/page', data)
}

// 获取评论
export function getCommentList(data) {
  return http.post('/comment/page', data)
}

// 获取屏蔽关键词
export function getAllwords(data) {
  return http.get('/comment/get-all-sensitive-words', data)
}
// 添加多个关键词
export function addWord(data) {
  return http.get(`/comment/add-sensitive-words/${data}`)
}
// 移除一个关键词
export function removeWord(data) {
  return http.get(`/comment/remove-sensitive-words/${data}`)
}